// 商品列表信息
const proList = [
    {
        name: '衣服',
        price: '$39.9'
    },{
        name: '裤子',
        price: '$49.9'
    },{
        name: '鞋子',
        price: '$29.9'
    }
]

export function proReducer (state={}, action) {
    switch (action.type) {
        case 'get_proList':
            return {
                proList: [...proList]
            };
        default:
            return state;
    }
}